<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8" 
import="java.util.ResourceBundle"%>
<%  
    String basePath = request.getScheme()+"://"+request.getServerName()+("80".equals(request.getServerPort()) ? "" : ":"+request.getServerPort())+request.getContextPath()+"/";
    ResourceBundle res = ResourceBundle.getBundle("config"); 
%>
<%@ taglib prefix="c"   uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn"  uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%--ctxPath--%>
<c:set var="ctxPath" value="${pageContext.request.contextPath}" />
<%--静态文件目录 --%>
<c:set var="staticPath" value="${ctxPath}/static" />

<!DOCTYPE html>
<head>
    <base href="<%=basePath%>" /> 
	<title>财务管理系统</title>
	<script type="text/javascript">
		var ctxPath = "${ctxPath }";
		var staticPath = "${staticPath }";
		var shiroUser=${sessionScope.sUser};
		var userRole = shiroUser.role;
	</script>  
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta charset="utf-8" />
	<meta name="renderer" content="webkit" /><!-- 360浏览器默认选择webkit内核 -->
	<meta name="description" content="overview &amp; stats" />
	<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />
	
    
    <!-- 框架js -->
	<script src="${staticPath}/assets/js/jquery.js"  type="text/javascript" ></script>
	<script src="${staticPath}/assets/js/jqGrid/jquery.jqGrid.src.js" type="text/javascript" ></script>
    <script src="${staticPath}/assets/js/jqGrid/i18n/grid.locale-cn.js" type="text/javascript" ></script>
   	<script src="${staticPath}/assets/js/ace-extra.js" type="text/javascript"></script>
	<script src="${staticPath}/assets/js/bootstrap.js"  type="text/javascript"></script>
	<script src="${staticPath}/assets/js/bootstrapValidator.js"  type="text/javascript"></script>
	<script src="${staticPath}/assets/js/zh_CN.js"  type="text/javascript"></script>
	<script src="${staticPath}/layer/layer.js"  type="text/javascript"></script>
	<script src="${staticPath}/layDate-v5/laydate/laydate.js"  type="text/javascript"></script> 
	<script src="${staticPath}/assets/js/jquery.form.js" charset="utf-8"></script>
    <script src="${staticPath}/assets/js/jquery.validate.js" charset="utf-8"></script>
    <script src="${staticPath}/assets/js/chosen.jquery.js"  type="text/javascript"></script>
    <script src="${staticPath}/select2/js/select2.full.js"  type="text/javascript"></script>
    <script src="${staticPath}/select2/js/i18n/zh-CN.js" type="text/javascript"></script>
    <script src="${staticPath}/assets/js/jquery.contextmenu.js" type="text/javascript" ></script>
	<script src="${staticPath}/fms/common.js" type="text/javascript" ></script>
	<script src="${staticPath}/blade/js/blade-tab.js" type="text/javascript" ></script>
	<script src="${staticPath}/assets/js/jquery.contextmenu.js" type="text/javascript" ></script>
</head>


